package com.dqy.twserver.server.dto;

public class GameDto {
    int sts;
    String info;
    int eventType;

    String playerName;
    String playerPass;
    String roomId;

    String roomListStr;

    int randSpeed;
    /////////
    int bulletNum;
    int posx;
    int posy;
    int dir;

    @Override
    public String toString() {
        return "GameDto{" +
                "sts=" + sts +
                ", info='" + info + '\'' +
                ", eventType=" + eventType +
                ", playerName='" + playerName + '\'' +
                ", playerPass='" + playerPass + '\'' +
                ", roomId='" + roomId + '\'' +
                ", roomListStr='" + roomListStr + '\'' +
                ", randSpeed=" + randSpeed +
                ", bulletNum=" + bulletNum +
                ", posx=" + posx +
                ", posy=" + posy +
                ", dir=" + dir +
                '}';
    }

    public static GameDto build(int sts, String info, int eventType){
        GameDto gameDto = new GameDto();
        gameDto.setSts(sts);
        gameDto.setInfo(info);
        gameDto.setEventType(eventType);
        return gameDto;
    }

    public int getRandSpeed() {
        return randSpeed;
    }

    public void setRandSpeed(int randSpeed) {
        this.randSpeed = randSpeed;
    }

    public int getBulletNum() {
        return bulletNum;
    }

    public void setBulletNum(int bulletNum) {
        this.bulletNum = bulletNum;
    }

    public int getPosx() {
        return posx;
    }

    public void setPosx(int posx) {
        this.posx = posx;
    }

    public int getPosy() {
        return posy;
    }

    public void setPosy(int posy) {
        this.posy = posy;
    }

    public int getDir() {
        return dir;
    }

    public void setDir(int dir) {
        this.dir = dir;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomListStr() {
        return roomListStr;
    }

    public void setRoomListStr(String roomListStr) {
        this.roomListStr = roomListStr;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public String getPlayerPass() {
        return playerPass;
    }

    public void setPlayerPass(String playerPass) {
        this.playerPass = playerPass;
    }

    public int getSts() {
        return sts;
    }

    public void setSts(int sts) {
        this.sts = sts;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
